str is a text string to be trimmed.
The Trim function removes leading and trailing spaces from string arguments.
Use this function any time there are leading and/or trailing blanks in a text object that may interfere with an alignment of text strings, a character count, or with a calculation (if the string is eventually converted to a Number).
The following examples are applicable to both Basic and Crystal syntax:
This function is designed to work like the Visual Basic function of the same name.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |